﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QW.Core.Events
{
    /// <summary>
    /// 通用事件仓储
    /// </summary>
    public interface IEventStore
    {
        void Save(List<EventData> events);
        void Remove(List<Guid> identitys);
        List<EventData> Pull(DateTime triggerEnd, int max);
    }
}
